public enum RegularPattern {
    OneToMany("@OneToMany"), JoinColumn("@JoinColumn"), JoinColumnPattern("@JoinColumn.*nullable\\s*=\\s*(\\w{4})\\s*\\)"),
    newJoinColumnPattern("@OneToMany\\(.*\\)\\s+@JoinColumn.*nullable\\s*=\\s*(\\w{4})\\s*\\)");

    private String desc;

    RegularPattern(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
